<?php
/**
 * Created by PhpStorm.
 * CeshiUser: 曹旺
 * Date: 2018-03-20
 * Time: 10:40
 */
namespace app\index\validate;
use think\Validate;
//发送邮件验证邮箱
class Sendemail extends Validate{
    protected $rule=[
        'email'=>'email|require',
    ];
    protected $message=[
        'email.require'=>'邮箱必须',
        'email.email'=>'邮箱格式错误',
    ];
}